html,
body {
    width: 100%;
    height: 100%;
}

#main-container {
    width: 100%;
    height: 100%;
}

#main-container .swiper-slide {
    background-color: #8e6e3f;
}

@keyframes yao-1 {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.1, 1.1);
        -webkit-transform: scale(1.1, 1.1);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@-webkit-keyframes yao-1 {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.1, 1.1);
        -webkit-transform: scale(1.1, 1.1);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@keyframes yao-2 {
    0% {
        transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
    }
}

@-webkit-keyframes yao-2 {
    0% {
        transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
        top: 10px;
    }
    20% {
        opacity: 1;
        top: 0;
    }
    100% {
        opacity: 0;
        top: -100px;
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
        top: 10px;
    }
    20% {
        opacity: 1;
        top: 0;
    }
    100% {
        opacity: 0;
        top: -100px;
    }
}

@keyframes yao-3 {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
        -webkit-transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@-webkit-keyframes yao-3 {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
        -webkit-transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@font-face {
    font-family: 'pianpian';
    src: url('../font/pianpian.ttf') format('truetype');
}

#loading {
    background-image: url(../images/loading/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#loading .icon {
    position: relative;
    top: 35%;
}

#loading .icon img {
    width: 100%;
}

#loading .icon .percent-area {
    text-align: center;
}

#loading .icon .percent-area span {
    font-family: 'pianpian';
    font-size: 15px;
    line-height: 20px;
}

#loading .icon .load-word {
    font-family: 'pianpian';
    font-size: 20px;
    text-align: center;
    line-height: 30px;
}

#page-1 {
    background-image: url(../images/p-1/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#page-1 .smoke,
#page-4 .smoke,
#page-3 .smoke {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    -webkit-animation: fade 3s linear infinite;
    animation: fade 3s linear infinite;
    top: 0;
    left: 0;
}

#page-1 .smoke img,
#page-4 .smoke img,
#page-3 .smoke img {
    width: 100%;
    height: 100%;
}

#page-1 .logo img,
#page-1 .title img,
#page-1 .desc img,
#page-1 .btn img,
#page-1 .youhui img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#page-1 .logo {
    height: 10.5%;
}

#page-1 .title {
    height: 25.7%;
    margin-top: -10%;
    position: relative;
}

#page-1 .title .title-word {
    position: absolute;
    top: 26%;
    left: 21%;
    width: 25.28%;
    -webkit-animation: yao-2 0.3s linear infinite;
    animation: yao-2 0.3s linear infinite;
    display: inline-block;
}

@media screen and (width: 320px) and (max-height: 480px) {
    #page-1 .title .title-word {
        left: 25%;
        width: 21.28%;
    }
}

@media screen and (min-width: 321px) and (max-width: 376px) {
    #page-1 .title .title-word {
        left: 19%;
        width: 27.28%;
    }
}

@media screen and (min-width: 376px) and (max-width: 415px) {
    #page-1 .title .title-word {
        left: 19%;
        width: 26.28%;
    }
}

@media screen and (min-width: 415px) and (max-width: 601px) {
    #page-1 .title .title-word {
        left: 18%;
        width: 26.28%;
    }
}

@media screen and (min-width: 601px) {
    #page-1 .title .title-word {
        left: 25%;
        width: 22.28%;
    }
}

#page-1 .youhui {
    height: 10%;
    margin-top: -5%;
    position: relative;
}

#page-1 .youhui .youhui-word {
    position: relative;
    top: -100%;
    -webkit-animation: yao-3 0.6s linear infinite;
    animation: yao-3 0.6s linear infinite;
}

#page-1 .desc {
    height: 18%;
}

#page-1 .btn {
    height: 7%;
    position: relative;
    top: 2%;
}

#page-1 .btn img {
    -webkit-animation: hue .6s infinite linear;
    animation: hue .6s infinite linear;
}

@keyframes hue {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
        -webkit-transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@-webkit-keyframes hue {
    0% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
        -webkit-transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@-webkit-keyframes hue1 {
    from {
        -webkit-filter: hue-rotate(0deg);
    }
    to {
        -webkit-filter: hue-rotate(-360deg);
    }
}

@keyframes hue1 {
    from {
        -webkit-filter: hue-rotate(0deg);
    }
    to {
        -webkit-filter: hue-rotate(-360deg);
    }
}

#page-2 {
    background-image: url(../images/p-2/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#page-2 .loudou {
    height: 51%;
    position: relative;
}

#page-2 .loudou img.loudou-image {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

#page-2 .loudou img.ll-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#page-2 .ll {
    position: absolute;
    display: none;
}

#page-2 .ll.ll-1 {
    width: 50px;
}

#page-2 .ll.ll-2 {
    width: 40.5px;
}

#page-2 .ll.ll-3 {
    width: 49px;
}

#page-2 .ll.ll-4 {
    width: 25.5px;
}

#page-2 .ll.ll-5 {
    width: 40.5px;
}

#page-2 .ll.ll-6 {
    width: 43px;
}

#page-2 .ll img {
    width: 100%;
}

#page-2 .float-time {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

#page-2 .float-time .num {
    font-size: 92px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    position: relative;
    top: 30%;
    transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
}

#page-2 .float-time .num.anim {
    -webkit-animation: countDown 0.5s;
    animation: countDown 0.5s;
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}

#page-2 .float-time .yao {
    height: 15%;
    position: relative;
    top: 30%;
    margin-top: 20px;
}

#page-2 .float-time .yao img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    -webkit-animation: yao 0.3s linear infinite;
    animation: yao 0.3s linear infinite;
}

@-webkit-keyframes countDown {
    from {
        transform: scale(0, 0);
        -webkit-transform: scale(0, 0);
    }
    to {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@keyframes countDown {
    from {
        transform: scale(0, 0);
        -webkit-transform: scale(0, 0);
    }
    to {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

@keyframes yao {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    50% {
        transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
    }
    100% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

@-webkit-keyframes yao {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    50% {
        transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
    }
    100% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

#page-3 {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#page-3 .desc img,
#page-3 .code img,
#page-3 .again img,
#page-3 .invite img,
#page-3 .rule img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#page-3 .desc {
    height: 23%;
}

#page-3 .desc .desc1,
#page-3 .desc .desc3,
#page-3 .desc .desc5 {
    display: none;
}

#page-3 .desc.d-1 .desc1,
#page-3 .desc.d-3 .desc3,
#page-3 .desc.d-5 .desc5 {
    display: block;
}

#page-3 .code {
    height: 18%;
}

#page-3 .btn {
    text-align: center;
    margin-top: 5px;
    height: 7%;
}

#page-3 .btn .again,
#page-3 .btn .invite {
    display: inline-block;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-animation: yao-1 0.3s linear infinite;
    animation: yao-1 0.3s linear infinite;
}

#page-3 .rule {
    height: 20%;
    margin-top: 10px;
}

#page-3 .share {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

#page-3 .share img {
    width: 100%;
}

#page-4 {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#page-4 .desc img,
#page-4 .code img,
#page-4 .again img,
#page-4 .invite img,
#page-4 .rule img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#page-4 .desc {
    height: 23%;
}

#page-4 .code {
    height: 16%;
    margin-top: 5px;
    position: relative;
}

#page-4 .code .code-id {
    position: absolute;
    font-size: 14px;
    color: #f6bf43;
    letter-spacing: 3px;
}

#page-4 .btn {
    text-align: center;
    margin-top: 5px;
    height: 7%;
}

#page-4 .btn .again,
#page-4 .btn .invite {
    display: inline-block;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-animation: yao-1 0.3s linear infinite;
    animation: yao-1 0.3s linear infinite;
}

#page-4 .rule {
    height: 22%;
    margin-top: 10px;
}

#page-4 .share {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

#page-4 .share img {
    width: 100%;
}
